﻿using Basic.FormRemoteModel;
using SqlSugar;

namespace Basic.FormModel.DB
{
    [SugarTable("UserFormItem")]
    public class DBUserFormItem
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        public long RecordId { get; set; }

        public long TableId { get; set; }

        public long ColumnId { get; set; }

        public string ColName { get; set; }

        public bool IsNull { get; set; }
        /// <summary>
        /// 控件类型
        /// </summary>
        public ControlType ColType { get; set; }

        public FormRecordDataType ItemType { get; set; }

        public int RowIndex { get; set; }

        public string StrVal { get; set; }

        public decimal? NumVal { get; set; }

        public long? LongVal { get; set; }

        public bool? BoolVal { get; set; }
    }
}
